<?php
/**
 * @author Jumper Swordwave
 * date: 2021/04/19
 */

return [
    'ddz' => [
        'max_rooms' => 50,
        'room_limit' => 3,
        'dis_time' => 600,  //掉线超时
    ],
    'key' => [
        'room_lock' => 'room:search:lock',
        'user_info' => 'user:info:%d',
        'user_list' => 'user:list',
        'room_info' => 'room:info:%d',
        'idle_room' => 'room:idle:list',
        'busy_room' => 'room:busy:list',
        'room_id' => 'room:generate:key',
    ],
];